package com.enbatis.mybatisplugs.enums;

public enum CreateSqlEnum {

    DELETE_BY_ID("deleteById","根据ID 删除一条数据","DELETE FROM %s WHERE %s = #{%s}");



    private final String method;
    private final String desc;
    private final String sql;

    CreateSqlEnum(String method, String desc, String sql) {
        this.method = method;
        this.desc = desc;
        this.sql = sql;
    }

    public String getMethod() {
        return method;
    }

    public String getDesc() {
        return desc;
    }

    public String getSql() {
        return sql;
    }



}
